]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Run tests through dbus-run-session
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 30 Oct 2019 18:15:26 +0000 (19:15 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 30 Oct 2019 18:43:53 +0000 (19:43 +0100)
Something changed recently in the test initialization code, causing
the test-theme invocation to fail. Make sure there is a D-Bus session
by running the tests through dbus-run-session to get them going again.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/796

.gitlab-ci.yml

index 2b5c9d656cfebbe5a48af35866a92fe37aef17ad..6e58624440ddd3a28e76cbd8cd0f802831f06919 100644 (file)
@@ -69,10 +69,11 @@ test:
     stage: test
     variables:
         XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
+        NO_AT_BRIDGE: "1"
     before_script:
         - ninja -C mutter/build install
     script:
-        - xvfb-run meson test -C build --no-rebuild
+        - dbus-run-session -- xvfb-run meson test -C build --no-rebuild
     <<: *only_default
     artifacts:
         expire_in: 1 day